/* 主体内容区 */
.main {
  flex: 1;
  display: flex;
  overflow: hidden; /* 隐藏滚动条 */
  height: 100vh;
  /* background-image: url("../img/半透明背景.png"); */
  /* background-size: cover;
  background-position: center;
  background-repeat: no-repeat; */
  background: transparent;
  justify-content: space-between;
  z-index: -999;
  /* background: #0c2030; */
  /* opacity: 0.2; */
  /* background: rgb(99 96 96 / 77%); */
}
/* 左侧面板 */
.left-panel {
  width: 430px;
  height: 1017px;
  display: flex;
  flex-direction: column;
  background-image: url("../img/图表弹窗背景.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 10px;
  box-sizing: border-box;
  margin-left: 1%;
  margin-top: 2%;
  margin-right: 1%;
  opacity: 0.8;
  /* z-index: 1; */
}
/* .left-panle-backg {
  background-image: url("../img/图表弹窗背景.png");
  background-repeat: no-repeat;
  background-size: cover;
} */
.left-panel .el-card {
  flex: 1;
  /* background: #0f2233; */
  /* border: none; */
  /* background-color: red; */
  /* height: 30%; */
  /* border: 1px solid #1a365d; */
  /* margin-bottom: 1%; */
  /* border-radius: 6px; */
  /* display: flex; */
  margin-bottom: 10px; /* 卡片之间留间距，避免拥挤 */
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.left-panel .fac-first-card {
  margin-bottom: 15px; /* 卡片之间留间距，避免拥挤 */
  /* background-color: red !important; */
  border: none !important;
  box-shadow: none !important;
  height: 10vh !important;
}
.left-panel .el-card__header {
  border-bottom: 1px solid #1a365d;
  padding: 5px 10px;
}
.left-panel .el-card__body {
  padding: 1%;
}
.panel-title {
  background-image: url("../img/小标题背景.png");
  background-repeat: no-repeat;
  /* background-size: cover; */
  font-size: 20px;
  /* font-weight: 600; */
  color: #fff;
  display: flex;
  align-items: center;
  padding-top: 12px;
  height: 34px;
  /* line-height: 34px; */
  width: 391px;
  /* padding: 30px; */
}
.panel-title .panel-title-span {
  /* card标题字体 */
  margin-top: -40px;
  /* line-height: 34px; */
}
.panel-title i {
  margin-right: 8px;
}

/* 数据统计卡片 */
.stats-card {
  display: flex;
  /* justify-content: space-between; */
  justify-content: center;
  height: 8rem;
  align-items: center;
  /* margin-bottom: 5px; */
  /* background-color: red; */
}
.stats-card-fac {
  /* display: flex; */
  /* justify-content: space-between; */
  /* justify-content: center; */
  height: 5rem;
  /* align-items: center; */
}

/*  */
.stats-cont {
  margin-top: 2rem;
  /* background-color: red; */
  display: flex;
  flex-direction: column;
  /* background-color: red; */
  .stats-cont-span {
    /* background-color: red; */
    display: flex;
    margin: 10px;
    /* justify-content: space-evenly; */
    align-items: center;
    font-size: 16px;
    color: #fff;
    /* font-weight: 600; */
    padding: 1%;
    /* padding: 2%; */
    .tit1 {
      margin: 0 2px;
    }
  }
}
.stats-cont-right {
  margin: 1rem;
  display: flex;
  flex-direction: column;

  /* align-items: flex-starts; */
  .stats-cont-span {
    /* text-align: left; */
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 18px;
    color: #fff;
    /* font-weight: 600; */
    margin: 4px 0;
    /* padding: 2%; */
  }
  .stats-cont-span-tit {
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 18px;
    color: #fff;
    margin-bottom: 1%;
  }
  .stats-cont-span p {
    margin-bottom: 1%;
    font-size: 18px;
    /* font-weight: 600; */
  }
  .stats-cont-span span {
    text-align: left; /* 让内部文字水平居中，也可根据需求改 left/right */
    /* font-weight: 600; */
  }
}
.stats-item {
  display: flex;
  justify-content: center;
  /* background-color: yellow; */
  text-align: center;
  width: 48%;
  height: 100%;
}
.stats-item .chart-container {
  height: 8rem;
  /* background-color: rebeccapurple; */
  padding: none;
  width: 8rem;
}
.stats-item .num {
  font-size: 1.3vw;
  font-weight: bold;
  display: block;
  margin-bottom: 2%;
}
.stats-item .desc {
  font-size: 0.8vw;
  color: #99b9d1;
}

/* 中间3D设备展示区 */
.center-area {
  /* width: 50%; */
  flex: 1;
  /* background: #0c2030; */
  /* position: relative; */
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1%;
  background: transparent !important;
}
.device-container {
  width: 100%;
  height: 100%;
  /* background: #0c2030; */
  border-radius: 8px;
  opacity: 0.9;
  position: relative;
  overflow: hidden;
}
.device-header {
  height: 10%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2%;
  border-bottom: 1px solid #1a365d;
}
.device-header h3 {
  font-size: 1.1vw;
  color: #66ccff;
}
.device-controls {
  display: flex;
  gap: 10px;
}
.device-controls .el-button {
  background: #1a365d;
  border: none;
  color: #b3cde0;
  font-size: 0.8vw;
  padding: 5px 10px;
}
.device-content {
  height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.device-placeholder {
  width: 80%;
  height: 80%;
  background: #163a5c;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.device-placeholder i {
  font-size: 5vw;
  color: #66ccff;
  margin-bottom: 15px;
}
.device-placeholder p {
  font-size: 1vw;
  color: #b3cde0;
}

/* 右侧能源卡片区 */
.right-cards {
  width: 30%;
  background: #0c2030;
  padding: 1%;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: flex-start;
}
.right-cards .el-card {
  background: #0f2233;
  border: 1px solid #1a365d;
  border-radius: 6px;
  width: 48%;
  margin: 1%;
}
.right-cards .el-card__header {
  border-bottom: 1px solid #1a365d;
  padding: 8px 15px;
}
.right-cards .el-card__body {
  padding: 10px 15px;
}
.card-title {
  font-size: 0.9vw;
  color: #66ccff;
  display: flex;
  align-items: center;
}
.card-title i {
  margin-right: 6px;
}
.energy-item {
  margin-bottom: 8px;
  font-size: 0.8vw;
  color: #b3cde0;
}
.el-table {
  border: none !important;
  background: #070c12 !important;
  /* background: transparent !important; */
  /* color: #b3cde0 !important; */
  font-size: 0.5vw !important;
  overflow-y: hidden !important;
}
::v-deep .el-table__body-wrapper::-webkit-scrollbar {
  width: 0;
}
.el-table__header-wrapper th {
  /* background: #163a5c !important; */
  /* color: #66ccff !important; */
  border: none !important;
}
.el-table__body-wrapper td {
  border: none !important;
}
.el-table--striped .el-table__body tr.el-table__row--striped td {
  background: #152a2f !important;
}
/* 自定义滚动条 */
/* ::-webkit-scrollbar {
  width: 0;
  height: 0;
}
::-webkit-scrollbar-track {
  background: #0b1b2b;
}
::-webkit-scrollbar-thumb {
  background: #1a365d;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #254b7e !important;
} */
.el-radio__label {
  font-size: 16px !important;
}
.el-radio__inner {
  width: 20px !important; /* 增大选择框宽度 */
  height: 20px !important; /* 增大选择框高度 */
}
